using System.Collections;
using System.Runtime.CompilerServices;
using Awaiter;
using Yoshi.Fb;

namespace Yoshi.Classes
{
    // ReSharper disable UnusedMember.Global
    // ReSharper disable UnusedMemberInSuper.Global
    [IgnoreNamespace]
    public interface IDataStore
    {
        FbUser User { get; }
        FbAuth Auth { get; }
        void AuthenticateAw(Await aw);
        bool Authenticated { get; }
        void GetRecord(Dictionary db, string key, string name, Await aw);
        void PutRecord(Dictionary db, string key, string name, object record);
        void RenameRecord(Dictionary db, string key, string oldName, string newName);
    }
}